package com.system.service;

import com.system.pojo.SysUser;
import com.system.vo.ResultVo;

public interface SysUserService  {

    ResultVo selectByUsername(String username);

    ResultVo login(SysUser sysUser);

    ResultVo<SysUser> selectAllSaler();

    ResultVo<SysUser> salerInsert(SysUser sysUser);

    ResultVo<SysUser> selectAll();

    ResultVo<SysUser> update(SysUser sysUser);

    ResultVo<SysUser> insert(SysUser sysUser);

    ResultVo<SysUser> selectById(Integer userId);

    ResultVo<SysUser> salerUpdate(SysUser sysUser);

    ResultVo<SysUser> deleteById(Integer adminId);
}
